package org.example.domain.strategy.service.rule.chain;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Slf4j
public abstract class  AbstractRaffleChain implements ILogicChain{

    private ILogicChain next;

    @Override
    public ILogicChain next() {
        return next;
    }

    @Override
    public ILogicChain appendNext(ILogicChain next) {

        this.next = next;
        return next;
    }

    protected  abstract String ruleModel();
}
